package string;

public class StartWithDemo {
    public static void main(String[] args) {
        String str="https://blog";
        System.out.println(str.startsWith("https://blog"));
        System.out.println(str.endsWith(".gif"));

    }
}
